package com.grademaster.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 成绩表
 * @TableName scores
 */
@TableName(value ="scores")
@Data
@ApiModel("成绩表")
public class Scores implements Serializable {
    /**
     * 成绩ID
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("成绩ID")
    private Long scoreId;

    /**
     * 学生ID
     */
    @ApiModelProperty("学生ID")
    private Long studentId;

    /**
     * 学期ID
     */
    @ApiModelProperty("学期ID")
    private Long termId;

    /**
     * 课程ID
     */
    @ApiModelProperty("课程ID")
    private Long courseId;

    /**
     * 成绩分数
     */
    @ApiModelProperty("成绩分数")
    private BigDecimal scoreValue;

    /**
     * 审核状态
     */
    @ApiModelProperty("审核状态")
    private Integer verificationStatus;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}
